<?
$functions_uri = str_replace(str_replace($_SERVER['DOCUMENT_ROOT'],"",dirname(__FILE__)),"/drizzo/engine/functions.php",dirname(__FILE__));
	@require_once($functions_uri);

	if($_GET['post_id']) {
		$the_post['ID'] = $_GET['post_id'];
	}
	if($_POST) {
		drizzo_db_connect();
		$new_comment = drizzo_comment_save();
		sleep(3);
	}
?>

	<h2><a name="comments"></a>Comments (<? echo drizzo_comment_count(); ?>)</h2>
<?
	if($new_comment) {
		echo "<p class=\"alert\">Your comment has been saved but may be awaiting approval.</p>\n";
	}
?>
	<? echo drizzo_the_comments(null,"ol", "ajax"); ?>